/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution');
const {globals} = require('./.eslintrc-auto-import.cjs')

module.exports = {
  root: true,
  extends: [
    'plugin:vue/vue3-essential',
    'eslint:recommended',
    '@vue/eslint-config-prettier/skip-formatting'
  ],
  parserOptions: {
    ecmaVersion: 'latest'
  },
  ignorePatterns: ['**/node_modules/**', '**/.git/**', '**/dist/**', '**/env/**', '**/public/**', '**/src/assets/**'],
  rules: {
    'vue/multi-word-component-names': 0,
    'no-prototype-builtins': 0
  },
  globals
};
